import request from '@/utils/request'

export default{
    //前台课程条件分页查询
     getFrontCourseCondition(page,limit,courseFrontVo) {
        return request({
            url: `/eduservice/frontCourse/pageCourseCondition/${page}/${limit}`,
            method: 'post',
            data:courseFrontVo
        })
    },

    //一级分类查询
    getOneSubjectList() {
        return request({
            url: `/eduservice/subject/getAllSubject`,
            method: 'get'
        })
    },
    //获取所有的前台课程信息
    getFrontCourseInfo(id){
        return request({
            url: `/eduservice/frontCourse/getCourseWebInfo/${id}`,
            method: 'get'
        })
    }
}    